<?php 
include_once(''.P.'/public/header.html');
?>


<style>
.indexicons{padding:10px 5px;margin:20px;width:120px;text-align:center;border:0px #cccccc solid;border-radius:10px;float:left;color:white;background:#66CCFF;position:relative;cursor:pointer}
.indexicons span{position:absolute;right:5px;top:5px;background-color:gray;color:white;display:inline-block;padding:2px 5px;border-radius:5px}
.indexicons span:empty{display:none}
</style>
<script>
function initbody(){
	js.ajax({
		url:'?m=index&a=total&d=manage&cnum='+cnum+'',
		success:function(da){
			var i,val;
			for(i in da){
				val = da[i];
				$('#stotel_'+i+'').html(val+'');
			}
		},
		dataType:'json'
	});	
}
</script>
</head>

<body>

<?php 
include_once(''.P.'/public/top_manage.html');
?>

<div align="center">

<div style="width:<?=$maxwidth?>;margin:20px 0px" align="left">
	<div>
		<a href="" class="zhu"><?=lang('manage.home')?></a>
	</div>
	<div class="mainbody">
		
		<div style="padding:0px 10px">
			<div style="padding:20px;font-size:20px" align="center">欢迎回来，<?=$companyinfo['name']?></div>
			
		
			
			<div class="indexicons" onclick="js.location('?d=manage&cnum=<?=$cnum?>&m=usera')">
				<div><font style="font-size:40px;" id="stotel_ushu"></font>/<?=$companyinfo['flaskm']?></div>
				<div>用户数</div>
			</div>
			
			<div class="indexicons" style="background:#CCCC66" onclick="js.location('?d=manage&cnum=<?=$cnum?>&m=dept')">
				<div style="font-size:40px;"><i class="icon-sitemap"></i></div>
				<div>部门数</div>
				<span  id="stotel_dshu"></span>
			</div>
			
			<div class="indexicons" style="background:#339999" onclick="js.location('?d=manage&cnum=<?=$cnum?>&m=agent')">
				<div style="font-size:40px;"><i class="icon-th-large"></i></div>
				<div>应用数</div>
				<span  id="stotel_agent"></span>
			</div>
			
		</div>
		
		
	</div>
</div>



<?php 
include_once(''.P.'/public/footer.html');
?>
</div>

</body>
</html>